home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magnum One
/
Magnum One (Mid-American Digital) (Disc Manufacturing).iso
/
d10
/
casext.arc
/
CASEXT.DOC
next >
Wrap
Text File
|
1990-06-11
|
5KB
|
143 lines
HARDWARE-SPECIFIC INFORMATION
Two of the DCA/Intel CAS functions, Get Hardware Status (12H) and Run
Diagnostics (13H), return information that varies depending on the kind of
hardware used to implement the specification. This appendix lists that
hardware-specific information for the Intel Connection CoProcessor.
Be aware that if your code relies on the information returned by these
functions, that code might not work correctly on hardware other than the
Connection CoProcessor. In addition, Intel reserves the right to change
without notice the information these functions return.
Get Hardware Status (12H):
Upon successful completion, this function returns a 51-byte status area
pointed to by DS:DX. The status area contains the following information:
Byte 0:
Bit 7 - set if the hardware is busy sending or receiving.
Bit 6 - set if this is the last page
Bit 5 - set if no data on current page
Bit 4 - set if re-transmit request for current page being
transmitted
Bit 3 - set if NSF mode active
Bit 2 - reserved
Bit 1 - reserved
Bit 0 - reserved
Byte 1: Number of 1K-byte areas of free buffer space
Byte 2:
Bit 7 - set if the Connection CoProcessor has document(s) to
send
Bits 6 -0: number of discrete pages are in the buffer.
Byte 3: Number of retries left to dial this number
Byte 4: Page number to re-transmit
Byte 5:
Bit 7 - set if the Connection CoProcessor is originating a call
Bit 6 - set if a Facsimile message will be sent
Bit 5 - set if off hook (on line)
Bit 4 - set if ring detected and receive is enabled
Bit 3 - set if buffer dumped on receive
Bits 2 - 0 tell what sequence state the hardware is in. The
states are:
0 - idle
1 - dial
2 - answer
3 - transmit
4 - receive
5 - pre-message
6 - post-message
7 - disconnect
Byte 6:
Bit 7 - reserved
Bits 6 - 4:
6 5 4 Baud Rate
0 0 0 300 baud (SDLC mode)
1 0 0 2400 baud (V.27 ter)
1 0 1 4800 baud (V.27 ter)
1 1 0 7200 baud (V.29)
1 1 1 9600 baud (V.29)
Bits 3 - 0: reserved and should be set to 0110
Bytes 7, 8, 9: reserved
Byte 10:
Bit 7 - set if the modem option is installed
Bit 6 - set if Connection CoProcessor has control of the DAA
(not latched)
Bit 5 - set if offhook (not latched)
Bit 4 - set if ring is detected (not latched)
Bit 3 - set if data in command buffer (not latched)
Bit 2 - set if DMA channel 1 is in use, cleared if DMA channel
3 is in use.
Bit 1 - set if line length compensation bit 1 is set (not
latched)
Bit 0 - set if line length compensation bit 0 is set (not
latched)
Byte 11:
Bit 7 - reserved
Bit 6 - not used
Bit 5 - set if spare switch is open
Bit 4 - set if fax ADR1 switch is open
Bit 3 - set if fax ADR0 switch is open
Bit 2 - set if alternate interrupt switch is open
Bit 1 - set if COM SEL 1 switch is open
Bit 0 - set if COM SEL 0 switch is open
Byte 12:
Bit 7 - reserved
Bit 6 - set if the auxiliary relay forced on
Bit 5 - set if the modem select relay forced on
Bit 4 - set if offhook relay forced on
Bit 3 - 9600 bps (V.29) enabled
Bit 2 - 7200 bps (V.29) enabled
Bit 1 - 4800 bps (V.27 ter) enabled
Bit 0 - 2400 bps (V.27 ter) enabled
Byte 13: reserved
Byte 14: low byte of error count (received errors or
retransmission requests.) This value is reset
whenever the hardware goes busy; thus it represents
the errors for the most recent activity.
Byte 15: high byte of error count
Byte 16: low byte of file length for nonstandard file format
(NSF) in bytes
Byte 17: file length for NSF in bytes
Byte 18: file length for NSF in bytes
Byte 19: high byte of file length for NSF in bytes
Bytes 20 - 29: reserved
Bytes 30 - 50: CSID
Bytes 51 - 127: reserved
Run Diagnostics (13H):
If you use this function to report on the progress of the diagnostics and
the value returned in AX is a negative number, the Connection CoProcessor
failed the diagnostics. Bits 0-3 contain more information.
Bit 3 - Set if 9600 bps fax modem module failed
Bit 2 - Set if SDLC chip failed
Bit 1 - Set if RAM failed
Bit 0 - Set if ROM checksum failed